package com.mspbots.core.wise.mapper;

import com.mspbots.core.DefaultBaseMapper;
import com.mspbots.core.wise.model.Tenant;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * ${PACKAGE_NAME}.${NAME}
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/20
 */
@Mapper
public interface TenantMapper extends DefaultBaseMapper<Tenant> {

    List<Tenant> findByStatus();

    boolean deleteTenantKeys(Map<String, Object> param);

    boolean deleteTenantOthers(Map<String, Object> param);
}
